﻿using System.Collections.Generic;
using AdAggregator.Advertisement;

namespace AdAggregator.Parser
{
    public class ParseResult<TAdvertisement> : IParseResult<TAdvertisement> where TAdvertisement : IAdvertisement
    {
        public List<TAdvertisement> Results { get; set; }
        public long AllAvailable { get; set; }
        public int LastSearchPage { get; set; }

        public ParseResult()
        {
            Results = new List<TAdvertisement>();
        }
    }
}